package com.nuckly.news.data.api

data class ApiResponse<T>(
    val status: String = SUCCESS,
    val articles: T,
    val totalResults: Int = 0
) {
    fun isSuccess() = status == SUCCESS

    companion object {
        const val SUCCESS = "ok"
    }
}